package ooday05;

public class GetterSetterDemo {
    public static void main(String[] args) {
        Point p=new Point();

        p.setX(4);
        p.setY(5);
        System.out.println(p.getX()+","+p.getY());
    }
}
